home *** CD-ROM | disk | FTP | other *** search
- // Copyright (c) 1993, University of Kansas, All Rights Reserved
- //
- // Class: TClockView
- // Include File: TClockVi.H
- // Purpose: provide a clock view to the desktop
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-13-93 created
- // 02-10-94 Split all members into seperate files.
- #include"tclockvi.h"
-
- void TClockView::draw() {
- // Purpose: Redraw the view
- // Arguments: void
- // Return Value: void
- // Remarks/Portability/Dependencies/Restrictions:
- // Revision History:
- // 12-13-93 created
-
- TDrawBuffer TDB;
- char c = getColor(2);
-
- // First clear and then rewrite the time.
- TDB.moveChar(0, ' ', c, size.x);
- TDB.moveStr(0, PresTime, c);
- writeLine(0, 0, size.x, 1, TDB);
- }
-